<link rel="stylesheet" href="/cn/css/exerciseNew/writeDetail.css?v=1.2">
<script type="text/javascript" src="https://file.viplgw.cn/ui/public/lib/vue/vue.js"></script>

<section id="exerciseDetail" v-cloak>
    <!-- 顶部 -->
    <div class="headNav">
        <template>
            <div class="w12 headContent">
                <div class="headTitle">{{questionData!=''?questionData.parent.name:''}}</div>
                <div class="clockTime">
                    <img src="/cn/images/exerciseNew/15@2x.png" alt="">
                    <span>{{time}}</span>
                </div>
                <div class="operateBtn">
                    <a href="/cn/exercise/write?category=all" class="upData">退出</a>
                    <a href="javascript:void(0)" class="upData" @click="essayUp">SUBMIT</a>
                    <img src="/cn/images/exerciseNew/16@2x.png" alt="" class="fullScreen"  @click="launchFullscreen">
                </div>
            </div>
        </template>
    </div>

    <input name="content_id" value="<?php echo $content_id?>" type="hidden" id="content_id">
    
    <!-- 做题部分 -->
    <div class="exerciseCenter">
        <!-- 文章 -->
        <div class="fullText">
            <div class="articleText" id="articleText">
                <div  v-html="questionData!=''?questionData.parent.description:''"></div>
                <img :src="questionData!=''&&questionData.parent.image!=''?questionData.parent.image:''" alt="">
            </div>
        </div>
        <!-- 题目 -->
        <div class="subject">
            <textarea id="userAnswer" v-model="writeText" ref="focusTextarea" @input="wordStatic"></textarea>
            <div class="totalWords">
                <p>word count: <span>{{count}}</span></p>
            </div>
        </div>
    </div>

</section>




<script src="/cn/js/exerciseNew/writeDetail.js?v=1.2"></script>

